package com.g2room.search.es.test;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.g2room.search.es.po.BasePo;

/**
 * 搜索分页TO类
 * 
 * @author Administrator
 *
 */
public class SearchResultPageTo extends BasePo implements Serializable {
	private static final long serialVersionUID = 3986406042572198311L;
	/** 搜索结果集合，分页后的结果 */
	private List<Map<String, Object>> result;
	/** 搜索结果总数 */
	private Long count;
	/** 搜索开始位置 */
	private int start;
	/** 搜索每页结果 */
	private int size;

	public Long getCount() {
		return count;
	}

	public void setCount(Long count) {
		this.count = count;
	}
	
	public List<Map<String, Object>> getResult() {
		return result;
	}

	public void setResult(List<Map<String, Object>> result) {
		this.result = result;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}
}
